package cn.lg.soar.boot.fc.entity.vo;

import cn.lg.soar.core.annotations.constraints.group.Create;
import cn.lg.soar.core.annotations.constraints.group.Update;
import cn.lg.soar.database.base.entity.BaseEntity;
import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 租房表
 * @author ZhuanZ（无密码）
 * @since 2025-01-18
 * 开源项目：https://gitee.com/lgx1992/lg-soar 求star！请给我star！请帮我点个star！
 */
@Data
public class TenancyRoomVo {

    /** 租房ID */
    @ApiModelProperty(value = "主键")
    private Long id;

    /** 表单提交ID */
    @ApiModelProperty(value = "表单提交ID")
    private Long formResultId;

    /** 表单申请ID */
    @ApiModelProperty(value = "表单申请ID")
    private Long formApplyId;

    /** 用户ID */
    @ApiModelProperty(value = "用户ID")
    private Long userId;

    /** 校区ID */
    @ApiModelProperty(value = "校区ID")
    private Long campusId;

    /** 楼栋ID */
    @ApiModelProperty(value = "楼栋ID")
    private Long buildingId;

    /** 单元ID */
    @ApiModelProperty(value = "单元ID")
    private Long unitId;

    /** 楼层ID */
    @ApiModelProperty(value = "楼层ID")
    private Long floorId;

    /** 房间ID */
    @ApiModelProperty(value = "房间ID")
    private Long roomId;

    /** 付费方式(0-月付 1-季付 2-半年付 3-年付 4-其他) */
    @ApiModelProperty(value = "付费方式(0-月付 1-季付 2-半年付 3-年付 4-其他)")
    private Integer payWay;

    /** 已交租金 */
    @ApiModelProperty(value = "已交租金")
    private BigDecimal alreadyPay;

    /** 待交租金 */
    @ApiModelProperty(value = "待交租金")
    private BigDecimal waitPay;

    /** 租房方式(0-整租 1-合租) */
    @ApiModelProperty(value = "租房方式(0-整租 1-合租)")
    private Integer tenancyWay;

    /** 合租ID */
    @ApiModelProperty(value = "合租ID")
    private Long leaseId;

    /** 合同ID */
    @ApiModelProperty(value = "合同ID")
    private Long contractId;

    /** 合同编号 */
    @ApiModelProperty(value = "合同编号")
    private String contractCode;

    /** 租房状态(0-审核中 1-待签合同 2-待缴费 3-已入住 4-待续租 5-已退租 6-维修中 7-转租中 8-待审合同 9-已拒绝) */
    @ApiModelProperty(value = "租房状态(0-审核中 1-待签合同 2-待缴费 3-已入住 4-待续租 5-已退租 6-维修中 7-转租中 8-待审合同 9-已拒绝)")
    private Integer tenancyState;

    /** 续租状态(0-待入住 1-待申请 2-待审核 3-已入住 4-已退租 5-待缴费 9-已拒绝) */
    @ApiModelProperty(value = "续租状态(0-待入住 1-待申请 2-待审核 3-已入住 4-已退租 5-待缴费 9-已拒绝)")
    private Integer continueState;

    /** 拒绝理由 */
    @ApiModelProperty(value = "拒绝理由")
    private String refuseReason;

    /** 申请时间 */
    @ApiModelProperty(value = "申请时间")
    private LocalDateTime applyTime;

    /** 审核时间 */
    @ApiModelProperty(value = "审核时间")
    private LocalDateTime examineTime;

    /** 合同签约时间 */
    @ApiModelProperty(value = "合同签约时间")
    private LocalDateTime signContractTime;

    /** 初次缴费时间 */
    @ApiModelProperty(value = "初次缴费时间")
    private LocalDateTime firstPayTime;

    /** 入住时间 */
    @ApiModelProperty(value = "入住时间")
    private LocalDateTime moveTime;

    /** 到租时间 */
    @ApiModelProperty(value = "到租时间")
    private LocalDateTime endTime;

    /** 附件 */
    @ApiModelProperty(value = "附件")
    private String attachment;

    /** 扩展字段1 */
    @ApiModelProperty(value = "扩展字段1")
    private String extend1;

    /** 扩展字段2 */
    @ApiModelProperty(value = "扩展字段2")
    private String extend2;

    /** 扩展字段3 */
    @ApiModelProperty(value = "扩展字段3")
    private String extend3;

    @ApiModelProperty(value = "用户姓名")
    private String userName;

    @ApiModelProperty(value = "房间信息")
    private String roomInfo;

    /** 房屋面积 */
    @ApiModelProperty(value = "房屋面积")
    private String area;

    /** 居室 */
    @ApiModelProperty(value = "居室")
    private String livingRoom;

    /** 朝向 */
    @ApiModelProperty(value = "朝向")
    private String orient;

    /** 产权证号 */
    @ApiModelProperty(value = "产权证号")
    private String ownershipCode;

    /** 联系人 */
    @ApiModelProperty(value = "联系人")
    private String contacts;

    /** 联系电话 */
    @ApiModelProperty(value = "联系电话")
    private String phone;

    /** 转租前用户ID */
    @ApiModelProperty(value = "转租前用户ID")
    private Long subletUserId;

    /** 联系电话 */
    @ApiModelProperty(value = "转租前用户姓名")
    private String subletUserName;

}
